package cn.stylefeng.guns.modular.menu.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.menu.entity.CanteenUser;
import cn.stylefeng.guns.modular.menu.model.param.CanteenUserParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * canteen_user 服务类
 *
 * @author  刘莉
 * @date 2021/06/16 9:18
 */
public interface CanteenUserService extends IService<CanteenUser> {

    /**
     * 分页查询canteen_user
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    PageResult<CanteenUser> page(CanteenUserParam canteenUserParam);

    /**
     * 查询所有canteen_user
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    List<CanteenUser> list(CanteenUserParam canteenUserParam);

    /**
     * 添加canteen_user
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    void add(CanteenUserParam canteenUserParam);

    /**
     * 删除canteen_user
     *
     * @author   刘莉
     * @date 2021/06/16 9:18
     */
    void delete(CanteenUserParam canteenUserParam);

    /**
     * 编辑canteen_user
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    void edit(CanteenUserParam canteenUserParam);

    /**
     * 查看详情canteen_user
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    CanteenUser detail(CanteenUserParam canteenUserParam);

    /**
     * 修改状态（字典 0正常 1停用 2删除）
     *
     * @author  刘莉
     * @date 2021/06/16 9:18
     */
    void changeStatus(CanteenUserParam canteenUserParam);

}